Python: Need Help Debugging Relatively Simple Function

join shbcf.ru